package com.example.hotel.dao;

import com.example.hotel.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

@Repository
@Mapper
public interface UserDao {
    User findByUserName(String username);
    void updatePwd(String newPwd,Integer userid);

    void addUser(String username,String password);
}
